package com.esxy.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.esxy.service.TestService;
import org.springframework.stereotype.Component;


@Service(interfaceClass = TestService.class)//找实现的接口
@Component
public class TestServiceImpl implements TestService {


    @Override
    public String getHW() {
        return "hello word!";
    }
}
